Filters the data using specified filter parameters.
Syntax
'Declaration
<AsyncStateMachineAttribute(C1.CollectionView.ICollectionViewEx/d__16`1)>
<ExtensionAttribute()>
Public Overloads Shared Function FilterAsync(Of As Class)( _
ByVal As ICollectionView(Of T), _
ByVal As Expression(Of Func(Of T,Object)), _
ByVal As FilterOperation, _
ByVal As Object _
) As Task
'Usage
Dim collectionView As ICollectionView(Of T)
Dim filterPath As Expression(Of Func(Of T,Object))
Dim filterOperation As FilterOperation
Dim value As Object
Dim value As Task
value = ICollectionViewEx.FilterAsync(Of T)(collectionView, filterPath, filterOperation, value)
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx/d__16`1)]
[Extension()]
public static Task FilterAsync<>(
ICollectionView<T> ,
Expression<Func<T,object>> ,
FilterOperation ,
object
)
where T: class
Parameters
- collectionView
- The collection view.
- filterPath
- The path of the data item to which the filter will be applied.
- filterOperation
- The filter operation.
- value
- The value used in the expression.
Type Parameters
- T
See Also